package org.zhs.a_16_代码校验.junit;


import org.junit.jupiter.api.*;

/**
 * @Author: zhs
 * @Date: 2024/9/24 22:21
 * @Version: 1.0
 * @Description: 使用JUnit 简单测试 CountedTest
 */
public class CountedTest {

    @BeforeAll
    static void beforeAll(){
        System.out.println(">>> 整体开始");
    }

    @AfterAll
    static void afterAll(){
        System.out.println(">>> 整体结束");
    }

    @BeforeEach
    public void initialize(){
        System.out.println("初始化");
    }

    @AfterEach
    public void cleanup(){
        System.out.println("清理");
    }

    @Test
    public void test(){
        System.out.println("开始测试");
    }



}
